home *** CD-ROM | disk | FTP | other *** search
/ Programming Languages Suite / ProgramD2.iso / Borland / Borland C++ V5.02 / EXWRKSHP.PAK / FOOBTN.RC < prev    next >
Text File  |  1997-05-06  |  2KB  |  26 lines

  1. // Borland C++ - (C) Copyright 1991, 1992 by Borland International
  2. //
  3. //  Resource Workshop 32-bit Custom Control Example
  4.  
  5. #include "foobtn.rh"
  6.  
  7. IDD_EDITSTYLES DIALOG 15, 10, 175, 104
  8. STYLE DS_MODALFRAME | DS_3DLOOK | DS_CONTEXTHELP | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
  9. CAPTION "Styles for a Foo Button"
  10. FONT 8, "MS Sans Serif"
  11. {
  12.  CONTROL "Text Color", -1, "button", BS_GROUPBOX | WS_CHILD | WS_VISIBLE | WS_GROUP, 11, 8, 68, 64
  13.  CONTROL "&Red", IDC_FTEXTRED, "button", BS_AUTORADIOBUTTON | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 19, 18, 40, 12
  14.  CONTROL "&Green", IDC_FTEXTGREEN, "button", BS_AUTORADIOBUTTON | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 19, 31, 40, 12
  15.  CONTROL "&Blue", IDC_FTEXTBLUE, "button", BS_AUTORADIOBUTTON | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 19, 44, 40, 12
  16.  CONTROL "&Yellow", IDC_FTEXTYELLOW, "button", BS_AUTORADIOBUTTON | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 19, 57, 40, 12
  17.  CONTROL "Background Color", -1, "button", BS_GROUPBOX | WS_CHILD | WS_VISIBLE | WS_GROUP, 95, 8, 68, 64
  18.  CONTROL "&Red", IDC_BTEXTRED, "button", BS_AUTORADIOBUTTON | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 103, 18, 40, 12
  19.  CONTROL "&Green", IDC_BTEXTGREEN, "button", BS_AUTORADIOBUTTON | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 103, 31, 40, 12
  20.  CONTROL "&Blue", IDC_BTEXTBLUE, "button", BS_AUTORADIOBUTTON | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 103, 44, 40, 12
  21.  CONTROL "&Yellow", IDC_BTEXTYELLOW, "button", BS_AUTORADIOBUTTON | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 103, 58, 40, 12
  22.  CONTROL "OK", IDOK, "BUTTON", BS_PUSHBUTTON | BS_CENTER | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 20, 80, 50, 14
  23.  CONTROL "Cancel", IDCANCEL, "BUTTON", BS_PUSHBUTTON | BS_CENTER | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 104, 80, 50, 14
  24. }
  25.  
  26.